@import "./yxflex.less"; // flex布局

.main_wrap {
  background-color: #f6f6f6;
  width: 100%;
  height: 100%;
  //overflow-x: hidden;
  overflow: hidden;


  .result_card {
    background-color: #f6f6f6;
    border: 0;
    box-shadow: none;
    height: calc(100% - 50px);

    /deep/ .el-card__body {
      padding: 0;
      height: 100%;
    }
  }

  .result_search {
    padding: 2%;
    box-sizing: border-box;
    background-color: #fff;
    width: 100%;

    .result_search_item {
      width: 100%;
      margin: 5px 0;
      padding: 0;
      //display: flex;
      .flex;
      box-sizing: border-box;
    }
  }

  .result_list {
    width: 100%;
    margin-top: 10px;
    box-sizing: border-box;
    //height: 100%;
    //background-color: #fff;

    .result_empty {
      width: 100%;
      height: 50px;
      line-height: 50px;
      //margin: auto;
      text-align: center;
    }

    .result_ul {
      width: 100%;
      overflow: auto;

      ul {
        width: 100%;
        padding: 2%;
        box-sizing: border-box;
        margin-bottom: 5%;

        .result_li {
          width: 100%;
          margin-bottom: 10px;
          padding-right: 2%;
          padding-bottom: 2%;
          border-radius: 5px;
          box-sizing: border-box;
          background-color: #fff;

          .result_li_name_time {
            width: 100%;
            //display: flex;
            .flex;
            box-sizing: border-box;
            //align-items: center;
            .flex-align-center;
            margin-bottom: 15px;
            margin-top: 5px;

            .result_li_name {
              //flex: 1;
              .flex-1;
              //width: calc(100% - 30%);
              overflow: hidden;
              white-space: nowrap;
              text-overflow: ellipsis;
              //display: flex;
              //flex-direction: row;
              //align-items: center;
              .flex;
              .flex-row;
              .flex-align-center;

              .dot_span {
                display: inline-block;
                width: 4px;
                height: 16px;
                background-color: #409eff;
                margin-right: 5px;
              }

              .result_li_name_text {
                width: 90%;
                overflow: hidden;
                white-space: nowrap;
                text-overflow: ellipsis;
                color: #2686fe;
                font-size: 15px;
                font-weight: bold;
              }
            }

            .result_li_time {
              //display: flex;
              //flex-direction: row;
              //align-items: center;
              //justify-content: flex-end;
              .flex;
              .flex-row;
              .flex-align-center;
              .flex-justify-end;

              font-size: 13px;
              max-width: 160px;

              .dot_span {
                display: inline-block;
                width: 4px;
                height: 4px;
                background-color: #409eff;
                margin-right: 5px;
                border-radius: 50%;
              }

              .time_span {
                font-size: 12px;
                padding: 0px 3px;
                border: solid 1px #dfdfdf;
                background-color: #fafafa;
                color: #828a8d;
                border-radius: 2px;
                box-sizing: border-box;
              }
              .view_span{
                padding: 0px 3px;
                border: solid 1px #f1f5fe;
                background-color: #f1f5fe;
                color: #65a5fd;
                border-radius: 2px;
                box-sizing: border-box;
                cursor: pointer;
                font-size: 12px;
                margin-left: 5px;
              }
            }

          }

          .result_li_tag {
            font-size: 12px;
            //display: flex;
            //justify-content: flex-end;
            //align-items: center;
            .flex;
            .flex-justify-end;
            .flex-align-center;

            //.view_span {
            //  padding: 2px 3px;
            //  border: solid 1px #f1f5fe;
            //  background-color: #f1f5fe;
            //  color: #65a5fd;
            //  border-radius: 2px;
            //  box-sizing: border-box;
            //  cursor: pointer;
            //}
          }

          // new-统计
          .total_wrapper {
            width: 90%;
            margin-left: 5%;

            .total_title {
              width: 100%;
              height: 35px;
              background-color: #ebf6fc;
              color: #4687de;
              border: solid 1px #dbeffb;
              box-sizing: border-box;
              font-weight: bold;
              text-align: center;
              line-height: 35px;
              margin: 10px 0 15px 0;
              letter-spacing: 1.5px;
            }
            .day_title{
              height: 30px;
              line-height: 30px;
              margin: 10px 0;
            }
            //统计
            .total_detail {
              width: 100%;
              //display: flex;
              //justify-content: space-between;
              .flex;
              .flex-justify-between;

              margin-bottom: 15px;

              .detail_item {
                width: 32%;
                height: 60px;
                //display: flex;
                //flex-direction: column;
                //justify-content: center;
                //align-items: center;
                .flex;
                .flex-column;
                .flex-justify-center;
                .flex-align-center;

                background-color: #fcc;
                border-radius: 5px;
                color: #fff;
                padding: 0 1px;
                box-sizing: border-box;

                .num {
                  font-size: 18px;
                  font-weight: bold;
                  word-break: break-all;
                  text-align: center;
                }

                .tip {
                  font-size: 12px;
                }
              }
              .item_width_38{
                width: 38%;
              }
              .item_width_28{
                width: 28%;
              }
            }

            // 切换
            .tag_title_wrapper {
              width: 100%;
              margin: 10px 0;
              //display: flex;
              //justify-content: space-between;
              .flex;
              .flex-justify-between;

              .tag_span, .active_tag {
                display: inline-block;
                width: 32%;
                text-align: center;
                padding: 5px 0;
                background-color: #f7fbfc;
                border: solid 1px #edeeef;
                font-weight: bold;
                box-sizing: border-box;
                font-size: 14px;
              }

              .active_tag {
                background-color: #ecf7fd;
                border: solid 1px #e0f1fb;
                color: #6fa2e6;
              }
            }

            .tag_item_wrapper {
              width: 100%;
              //display: flex;
              //justify-content: space-between;
              .flex;
              .flex-justify-between;

              //padding-bottom: 10px;
              //padding-top: 10px;

              .tag_item_info {
                width: 32%;
                padding: 10px 0;
                box-sizing: border-box;
                text-align: center;
                border-right: solid 1px #eeeeee;

                .tip {
                  font-size: 12px;
                  color: #a7a7a7;
                }

                .num {
                  margin-top: 5px;
                  font-size: 16px;
                  font-weight: bold;
                }
              }

              .border_no {
                border-right: none;
              }
            }
          }

          // 媒体查询
          @media screen and (width: 320px) {
            .total_wrapper .total_detail .detail_item .num {
              font-size: 16px;
            }
          }

        }
      }

    }
  }

  //弹框
  .result_info {
    width: 100%;
    overflow: auto;
    background-color: white;
    padding: 0;
    box-sizing: border-box;

    /deep/ .el-dialog__body {
      padding: 0 !important;
    }

    .result_info_total {
      margin: 3% 0;

      ul {
        //display: flex;
        //-moz-justify-content: space-between;
        //justify-content: space-between;
        //-moz-align-items: center;
        //align-items: center;

        .flex;
        .flex-justify-between;
        .flex-align-center;

        margin-bottom: 0;

        li {
          width: 40%;
          background-color: #f4f4f4;
          padding: 2%;
          box-sizing: border-box;
          //display: flex;
          //-moz-flex-direction: column;
          //flex-direction: column;

          .flex;
          .flex-column;

          p {
            width: 100%;
            height: 22px;
            line-height: 22px;
            //display: flex;
            //align-items: center;
            .flex;
            .flex-align-center;
          }

          p:nth-child(1) {
            margin-bottom: 10px;

            .dot_span {
              display: inline-block;
              width: 3px;
              height: 10px;
              background: #7155ff;
              margin-right: 8px;
            }
          }

          b {
            font-size: 16px;
            font-weight: 700;
            margin-left: 10px;
          }
        }
      }
    }

    .result_info_item {
      margin: 0;
      padding: 2%;
      padding-top: 20px;
      background-color: #f7f7f7;

      .result_info_item_icon_wrapper {
        position: relative;
        margin: 0 auto;
        padding: 20px;
        box-sizing: border-box;
        background: linear-gradient(45deg, #f4dc9be0, #fff1ba, #fcc, transparent);
        border-radius: 10px;
      }

      .result_info_item_icon_download {
        position: absolute;
        top: 8px;
        right: 8px;
      }

      .result_info_item_icon {
        //justify-content: flex-start;
        //flex: 1;
        //display: flex;
        //margin: 0 auto;
        //padding: 20px;
        //box-sizing: border-box;
        /* background: linear-gradient(45deg, #b34dd9, transparent); */
        //background: linear-gradient(45deg, #f4dc9be0, #fff1ba,#fcc, transparent);
        color: #5f87ea;
        //border-radius: 10px;
        .flex-justify-start;
        .flex-1;
        .flex;

        div:nth-child(1) {
          //display: flex;
          //align-items: center;
          //justify-content: center;
          .flex;
          .flex-align-center;
          .flex-justify-center;

          padding: 10px;
          box-sizing: border-box;
          border-radius: 10px;
        }

        div:nth-child(2) {
          //flex: 1;
          //display: flex;
          //flex-direction: column;
          //justify-content: space-around;
          //align-items: flex-start;

          .flex-1;
          .flex;
          .flex-column;
          .flex-justify-around;
          .flex-align-start;

          margin-left: 20px;
        }
      }

      div {

        ul {
          margin-top: 2%;
          margin-bottom: 2%;
          padding: 0;

          //justify-content: space-between;
          //-moz-align-items: center;
          //align-items: center;
          .flex-justify-between;
          .flex-align-center;
          width: 100%;
          box-sizing: border-box;

          p {
            display: inline-block;
            width: 33%;
            font-size: 14px;
            text-align: center;
            height: 36px;
            line-height: 36px;
          }

          li {
            width: 100%;
            box-sizing: border-box;
          }

          //.result_li_date_header {
          //  p:nth-child(1) {
          //    background-color: #f2f3f5;
          //  }
          //
          //  p:nth-child(2) {
          //    background-color: #e6eefb;
          //  }
          //
          //  p:nth-child(3) {
          //    background-color: #eaf6ec;
          //  }
          //}
        }
      }
    }

    // new -dialog-wrapper
    .dialog_info_wrapper {
      width: 100%;
      padding: 15px 4%;
      background-color: #f7f7f7;
      //margin-top: 15px;
      box-sizing: border-box;
    }

    //项目结算
    // 统计
    .result_wrapper {
      //display: flex;
      //justify-content: space-between;
      //align-items: center;
      .flex;
      .flex-justify-between;
      .flex-align-center;

      padding: 10px;
      box-sizing: border-box;
      background-color: #2785ff;
      border-radius: 5px 5px 0 0;
      position: relative;

      .result_left {
        //flex: 1;
        .flex-1;

        .tip {
          color: #fff;
          font-size: 12px;
          line-height: 26px;
        }

        .num {
          color: #fff;
          font-weight: bold;
          font-size: 20px;
        }
      }

      .result_right {
        margin-right: 10px;


        p {
          padding: 3px 4px;
          background-color: #fff;
          border-radius: 5px;
          .flex;
          .flex-align-center;

          span {
            color: #64a9ff;
            margin-left: 2px;
          }

        }
      }

      .sanjiao_blue {
        position: absolute;
        bottom: -8px;
        left: 50%;
        margin-left: -5px;
        width: 0;
        height: 0;
        border-top: 10px solid #2785ff;
        border-right: 10px solid transparent;
        border-left: 10px solid transparent;
        border-bottom-left-radius: 3px;
      }
    }

    // 推广消费
    .promotion_wrapper, .smsnotice_wrapper, .invitation_wrapper, .other_wrapper {
      width: 100%;
      padding: 0 10px;
      box-sizing: border-box;
      background: linear-gradient(#ecf4ff, 10%, #fff);
      text-align: center;
      border-radius: 0 0 10px 10px;
      margin-bottom: 20px;
      .title {
        span {
          display: inline-block;
          margin-top: 20px;
          padding: 0px 20px;
          height: 24px;
          line-height: 24px;
          border-radius: 15px;
          background-color: #2785ff;
          color: #fff;
          font-size: 12px;
        }

      }

      .list_wrapper {
        //display: flex;
        //justify-content: space-between;
        //flex-wrap: wrap;

        .flex;
        .flex-justify-between;
        .flex-wrap;

        margin: 5px 0 10px 0;
        padding: 15px 0;

        .list_item {
          width: 33.3%;
          padding: 15px 10px;
          box-sizing: border-box;
          //display: flex;
          //flex-direction: column;
          //justify-content: center;
          .flex;
          .flex-column;
          .flex-justify-center;

          border-right: solid 1px #c5c9ca;
          border-bottom: solid 1px #c5c9ca;

          span {
            font-size: 12px;
            color: #949a9d;
          }

          b {
            font-size: 18px;
          }
        }

        .br_no {
          border-right: none;
        }

        .bb_no {
          border-bottom: none;
        }
      }

    }
    // 项目明细
    .detail_wrapper {
      padding: 20px 10px 10px 10px;
      background: #fff;
      border-radius: 5px;

      .date_box {
        height: 30px;
        line-height: 30px;
        background-color: #ebf6fc;
        color: #3079db;
        border: solid 1px #daedfb;
        box-sizing: border-box;
        text-align: center;
        font-weight: bold;
      }
    }
    .empty_box{
      padding: 40px;
      box-sizing: border-box;
    }

    // tag切换部分

    .dialog_item_title {
      width: 100%;
      height: 30px;
      //display: flex;
      //justify-content: space-around;
      .flex;
      .flex-justify-around;
      text-align: center;
      margin-top: 10px;

      .title {
        color: #a0a4a7;
      }

      .activeTitle {
        color: #2785ff;
        font-weight: bold;
        border-bottom: solid 2px #2785ff;
      }
    }
  }

  .remark {
    font-size: 14px;
    color: rgb(223 12 12);
  }
}
